import { defineConfig } from 'vitepress'

export default defineConfig({
  title: 'Wanglei View',
  description: 'A Vue 3 UI Library',
  themeConfig: {
    nav: [
      { text: 'Guide', link: '/' },
      { text: 'Components', link: '/components/button/' }
    ],
    sidebar: [
      {
        text: 'Components',
        children: [
          { text: 'Button', link: '/components/button/' },
          { text: 'Checkbox', link: '/components/checkbox/' },
          { text: 'CountTo', link: '/components/count/' },
          { text: 'Form', link: '/components/form/' },
          { text: 'Icon', link: '/components/icon/' },
          { text: 'Input', link: '/components/input/' },
          { text: 'Message', link: '/components/message/' },
          { text: 'Radio', link: '/components/radio/' },
          { text: 'SplitPane', link: '/components/split/' },
          { text: 'Tabs', link: '/components/tabs/' },
          { text: 'Tree', link: '/components/tree/' }
        ]
      }
    ]
  }
})
